package com.xtm.exercise.base.A08Collection.A01list.stream;

import lombok.Data;

/**
 * 类描述：
 *
 * @author lei
 * @version 1.0
 * @date 2023/4/6 11:11 2023
 */
@Data
public class Person {

    public String name;  // 姓名
    public int salary; // 薪资
    public int age; // 年龄
    public String sex; //性别
    public String area;  // 地区

    // 构造方法
    public Person(String name, int salary, int age,String sex,String area) {
        this.name = name;
        this.salary = salary;
        this.age = age;
        this.sex = sex;
        this.area = area;
    }



}
